# $Id: PKGBUILD 140549 2011-10-17 07:24:10Z bisson $
# Contributor: damir <damir@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=libhangul
pkgver=0.1.0
pkgrel=1
_filecode=6000
pkgdesc='Input method library for Korean'
arch=('i686' 'x86_64')
url='http://kldp.net/projects/hangul/'
license=('LGPL')
options=('!libtool')
DLAGENTS=("http::/usr/bin/curl -A '' -fLC - --retry 3 --retry-delay 3 -o %o %u") # moronic httpd bans curl's user-agent
source=("http://kldp.net/frs/download.php/${_filecode}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('9c6f3a82f2d4068771215f1b9f13a0d4bdbbfc77')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --enable-static=no
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}
